package com.indusfo.spc.mapper;

import com.indusfo.spc.pojo.PlanTarget;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 * @Author 熊冰
 * @Date 2019/11/8 15:07
 * 任务单流程采集参数
 */
public interface PlanTargetMapper {
    //增加
    int insertPlanTarget(PlanTarget planTarget);
    //更新
    int updatePlanTarget(PlanTarget planTarget);
    //查询
    List<PlanTarget> queryPlanTarget(PlanTarget planTarget);
    //总数
    int countPlanTarget(PlanTarget planTarget);
    //判重
    int checkPlanTarget(PlanTarget planTarget);
    //删除
    int deletePlanTarget(@Param("planTargetIds") List<Integer> planTargetIds, @Param("dataState") Integer dataState);

}